//
//  SCFilterView.h
//  MSEnglishTeachingTeacher
//
//  Created by Chao Sheng on 2022/8/31.
//

#import <UIKit/UIKit.h>

typedef enum {
    SCFilterLayoutStyleNormal = 0,
    SCFilterLayoutStyleBisect, /// 二等分
    SCFilterLayoutStylePicker, /// 选择样式
} SCFilterLayoutStyle;

NS_ASSUME_NONNULL_BEGIN

@interface SCFilterView : UIControl

/// 上次选中的标签
@property (nonatomic, copy) NSArray <NSString*>*lateseSelectedStates;

/// 标题
@property (nonatomic, strong) NSArray *filterTitles;

/// 内容
@property (nonatomic, strong) NSArray *filterNames;

/// 对应的状态
@property (nonatomic, strong) NSArray *filterStates;

/// 对应的样式（可选）
@property (nonatomic, strong) NSArray *filterStyles;

/// 展示
- (void)showFilterSuccess:(void(^)(NSArray *selectedStates))success;

@end

NS_ASSUME_NONNULL_END
